//
//  Calculator.h
//  OCDemo
//
//  Created by wxf on 2024/8/4.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Calculator : NSObject
{
    int _ret;
}

//对象方法
-(int)sum:(int)num1 addNum2:(int)num2;

//类方法
+(int)sumWithNum3:(int) num3  addWithNum4:(int)num4;

@end

NS_ASSUME_NONNULL_END
